{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "dcb824ba",
   "metadata": {},
   "source": [
    "# 简介\n",
    "## 分类\n",
    "1. SAS - Statistical Analysis Software\n",
    "2. SPSS - Statistical Product and Service Solution\n",
    "3. R - a language, CRAN(The Comprehensive R Network)"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "9da36568",
   "metadata": {},
   "source": [
    "# 基础\n",
    "## 数据结构\n",
    "1. 共分为四种 numeric character logical complex\n",
    "2. 使用mode() 指令进行查看\n",
    "3. 缺失数据为 NA\n",
    "4. 非数据为 NaN\n",
    "\n",
    "## 运算\n",
    "1. 赋值运算 <-\n",
    "2. 数值运算 + - * / ^\n",
    "3. 比较运算 > < >= <= == !=\n",
    "4. 逻辑运算 ！ & ｜\n",
    "\n",
    "## 向量\n",
    "1. 创建向量 c()\n",
    "2. 获取长度 length()\n",
    "3. 给向量分组 \n",
    "    > factor(rep('<'a'>':'<'b'>',times=NA, length.out=NA, each='<'c'>')) <br>\n",
    "    > data.frame('<'data'>','<'group'>') <br>\n",
    " \n",
    "## 程序结构\n",
    "1. 循环 for(i in 1:N){}\n",
    "2. 分支 if(cond) statement1 else statement2"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "6323ddeb",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "python3.6",
   "language": "python",
   "name": "python3.6"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.7"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {},
   "toc_section_display": true,
   "toc_window_display": true
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
